package com.gitee.fanx.retty.spring.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.gitee.fanx.retty.spring.RettyServerBean;

/**
 * @author fanhang
 */
@Configuration
public class RettyAutoConfiguration {

    @Bean
    public RettyServerBean rettyServerBean(RettyProperties rettyProperties) {
    	return new RettyServerBean(rettyProperties);
    }

}
